Method for the automatic or semiautomatic distance measurement and focusing of the image of an object onto a focal plane

ABSTRACT

In the exemplary embodiments, two line-shaped images of a scene are imaged onto two line sensors. The output signals of these line sensors are digitally further processed, whereby the distance measurement ensues by means of sequential examination of the correlation of the digitalized measuring results of the line sensors. For the correlation examination, the parts of the line sensors respectively lying opposite one another and overlapping are employed. The circuit arrangement for implementing this method is contained on one chip in MOS digital technology.

CROSS REFERENCE TO RELATED APPLICATION

Pursuant to 37 CFR 1.78(a) reference is hereby made to my earlier filed copending application Ser. No. 020,812 filed Mar. 15, 1979.

BACKGROUND OF THE INVENTION

The invention relates to a method for the automatic or semiautomatic distance measurement and focusing of the image of an object onto a focal plane, whereby the image is obtained via a lens which is movable in the direction of its optical axis to effect a focus.

An arrangement for the automatic focusing with the assistance of photodiodes and an electronic circuit is known from the periodical Electronics (Nov. 10, 1977, pages 40 ff). The known arrangement functions according to the method of angular measuring, whereby two separate images of the object are projected onto two surface-like arrangements of photodiodes with the assistance of mirrors. With the assistance of a small motor, the lens and one of the mirrors is moved until the mean brightness of photodiodes corresponding to one another coincides. This method functions with an analog processing circuit such as can be realized in the technology of bipolar integrated circuits.

A difficulty of the known method is that, in principle, it requires large silicon surfaces for the integration. This can only be realized with relatively high outlay since an expensive bipolar analog technology is required.

SUMMARY OF THE INVENTION

It is therefore the object of the invention to specify a method which renders possible an automatic distance measuring without the occurrence of the said difficulties.

This object is inventively achieved in that two line-shaped image sections are imaged onto two line sensors; in that the output signals of the line sensors are digitally further processed; in that the distance measurement ensues by means of sequential examination of the correlation of the digitalized measuring results of the line sensors; in that the parts of the line sensors which respectively lie opposite one another and overlap one another are employed for the correlation examination; in that the correlation examination is carried out in an equivalence detector; in that the results of the correlation examination are summed up in an adder and are supplied to a signal evaluator which controls the focus adjustment or, respectively, displays a coded signal.

Expedient embodiments of the invention are specified in the subclaims.

An advantage of the invention is that the output signals of the sensor elements can be digitally further processed. Thus, the further signal processing can be realized in digital technology on the same chip.

A particular advantage of a distance measurement with digitalized image signals is that it can be completely realized on one chip in a MOS digital technology--as is employed for memories or charge coupled devices--without changing the process and upon employment of known circuit structures. Thereby, the extent of integration remains within a surveyable frame, thus, for example, for a comparison width of 32 image points and a deflection of 32 image points, i.e. for 64 measuring positions, approximately 3,000 transistor functions are required (2,000 of them for sensors, shift register and preparation of the measuring value, 1,000 for the signal evaluation).

An exposure measurement or, respectively, an automatic exposure control can be realized on the same chip with relatively little additional outlay. To that end, the signal of comparison sensors is employed, which exists in the simplest case as a binary value, the measurement duration. If one measures this duration with a counter, then a so-called automatic exposure time or diaphragm mechanism can be simply implemented. Only minimum demands are to be thereby made of the frequency standard employed for the time measurement since the same standard is also employed with the same relative error for the output of the exposure time.

Further advantages of the invention are explained on the basis of exemplary embodiments illustrated on the accompanying sheets of drawings; and other objects, features and advantages will be apparent from this detailed disclosure and from the appended claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a block diagram of an automatic range finder;

FIG. 2 shows a dynamic shift register with photosensors;

FIG. 3 shows a timing diagram which illustrates the operation of the shift register according to FIG. 2;

FIG. 4 shows a timing diagram which illustrates the clock pulse sequence for effecting a measurement cycle by the shift register according to FIG. 2;

FIG. 5 shows a static shift register with photosensors;

FIG. 6 shows a timing diagram which illustrates the operation of the shift register according to FIG. 5;

FIG. 7 shows a circuit diagram of two comparison sensors;

FIG. 8 is a diagrammatic illustration of an exemplary equivalence detector for the case where the shift registers according to FIG. 2 or FIG. 5 each have thirty-two photodiodes;

FIG. 9 is a diagrammatic illustration of an Adder for association with the equivalence detector of FIG. 8;

FIG. 10 is a diagrammatic illustration of a signal evaluator arrangement for association with the components of FIGS. 8 and 9;

FIG. 11 is a view similar to FIG. 1 but indicating the case where respective light intensities impinging on image elements O4-O7 and U1-U4 match (corresponding to an "infinite" distance setting); and

FIG. 12 is a view similar to FIG. 1 but indicating the case where respective light intensities impinging on image elements O1-O4 and U4-U7 match (corresponding to a close-up distance setting).

DETAILED DESCRIPTION

The block diagram of the automatic range finder according to the invention is illustrated in FIG. 1, whereby the measurement of the distance is carried out in conjunction with a modified split-image range finder as described under the heading "Summary of the Invention", herein.

The photosensor and shift register part 1 can be seen in the center of the block diagram. Two line sensors 2, 3 for the upper and lower pupil of the split-image principle are illustrated. Further, two comparison (reference) sensors 4, 5 are schematically illustrated in part 1.

The principle of the split-image range finder is based on a correlation examination between the line-shaped image sections covered by the upper line sensor 2 and the lower line sensor 3. To that end, simplified line sensors 2 and 3 with respectively seven image points (O1 through O7 for the upper line sensor and U1 through U7 for the lower line sensor) are illustrated in the figure. In the example illustrated in FIG. 1, the four image elements O4 through O7 of the upper line sensor 2 and U1 through U4 of the lower line sensor 3 lie opposite one another, whereby, for example, a distance setting "infinite" is realized when the respective pairs of image elements or photodiode output quantities O4, U1; O5, U2; O6, U3; and O7, U4 all match. In contrast thereto, given a close-up distance setting "1 m", the line sensors are respectively deflected by three elements to the right, or respectively, to the left, so that the image elements O1 through O4 and U4 through U7 lie opposite one another and a simultaneous match of the respective pairs O1,U4; O2,U5; etc., is found.

In this example, the measurement itself ensues by means of a sequential examination of the correlation of the digitalized measuring results of the upper and lower line sensor. The parts of the line sensors 2 and 3 which respectively lie opposite one another and overlap are employed for the correlation examination. The seven positions (number of the image elements in the comparison zone or width: four; plus number of the image elements to be subject to shifting into the comparison zone: three) detectable in the example illustrated are examined in seven individual examinations in the equivalence detector 6. The equivalence detector 6 is equipped with gates for exclusive OR. It is particularly advantageous in this arrangement that after each individual step of the correlation examination, a new examination is prepared by means of a shift toward the right in the upper register 2, or, respectively, a shift toward the left in the lower register 3. The step-by-step shifting occurs in such manner that, always alternately, the upper shift register 2 is shifted by one step toward the right, and following thereupon the lower shift register 3 is shifted by one step to the left. In the example illustrated, thus, O4 through O7 and U1 through U4 first lie opposite one another. Then, the upper shift register is shifted by one step toward the right, whereby O3 through O6 and U1 through U4 lie opposite one another. In the next step, there ensues the shift of the lower shift register by one step toward the left, so that O3 through O6 and U2 through U5 lie opposite one another. At the end of the respectively step-by-step shifting, thus, O1 through O4 and U4 through U7 lie opposite one another.

The results of the correlation examination (given complete coincidence, four parallelly matching pairs of logical ones or zeros occur, to produce four output logical ones in the simplified embodiment of FIG. 1) are added up in the adder 7 and are thus available for signal evaluation. Thereby, the adder 7 consists of a shift register and a counter with a parallel binary coded output, for example.

In the simplest case, the signal evaluator 8 consists of a circuit which displays in which position a high correlation result between sensors 2 and 3 occurs (for example, the total match sequence to the counter "1111" in the simplified embodiment illustrated). This position can be output as the range statement for the control of an adjustment (for example, as a pulse train for a stepping motor) and/or as a coded signal (e.g. binary 001) for a range display.

The said, simple measuring method can for example be employed when only simple image contents--as are offered for example by a black-white edge--are employed for the measurement. If a reliable measurement is also to be carried out given more complex image contents, then the signal evaluator 8 must exhibit a sum storage (e.g. for each a binary coded number) and a sum comparison together with a determination of each position of the correlation which produces the largest sum. The coding of the comparison result for the range output--as already explained above--is post-connected to these functions. The signal evaluator 8, for example, can be implemented by means of an appropriate microprocessor structure.

The measurement is initiated by supplying a pulse to input T of the sequence control 9 (e.g. upon actuation of the camera shutter). Further, a circuit is contained in the sequence control 9 which supplies the clock pulses to input τ of the sensor and shift register part 1 and processes the signals received at input S from the reference sensors 4, 5.

A dynamic shift register consisting of transistors T₁ through T₁₀ and the capacitances C₁ through C₃ is illustrated in FIG. 2 which is expanded by the detector diodes D₁ and D₂ with post-connected transfer transistors T₁₁, T₁₂ for the image signal acceptance.

For initiating the line pickup the shift register is placed in an operating state in which the node A is applied to high potential (VDD) via the output of a preceding inverter (compare T₆, T₇, FIG. 2) and the transfer transistor T₁. For initiating the measurement, φ₁, the clock pulse at the shift register transfer transistor T₁ is switched off. Depending on the exposure of the photodiode D₁, the node A is now more or less strongly discharged. The time span required for the discharge, i.e., the measurement duration, is determined with the assistance of the comparison sensors 4, 5 lying parallel to the line sensors. The circuit (see FIG. 7) generates a pulse edge which terminates the measuring duration as soon as the threshold value of the voltage for changing-over the inverter T₂₂, FIG. 7, is achieved on the average across all of the sensors D₃, D₄ of the comparison sensors component 4, 5. By so doing, the transfer transistors T₁₁, T₁₂ are switched off with the assistance of the clock pulse φ. The analog signal of the sensor such as D₁ pending at this point in time at the node A is converted via the inverter curve of the transistors T₂, T₃ into a binary value (i.e. logical zero or logical one) which can be tapped at node B (see V_(B), FIG. 2) for output via 6-1, FIG. 2, to the equivalence detector 6. In case the transmission curve of the inverter employed is not sufficient for this purpose, a tap is to be provided at the node D.

The exemplary embodiment illustrated in FIG. 2 with the two detector diodes D₁ and D₂ and the two transfer transistors T₁₁, T₁₂ relates to two image elements for components 2 and 3 and is to be increased in accord with the number of image elements required for each line sensor component 2, 3.

A timing diagram for the clock pulse sequence in the standard shift register operation of the exemplary embodiment according to FIG. 2 is illustrated in FIG. 3. Further, the time delay t_(d) for one bit is illustrated in FIGS. 2 and 3.

A timing diagram of the clock pulse sequence during a measurement cycle, the formation of the binary values and the correlation and shift phase of the exemplary embodiment according to FIG. 2 is illustrated in FIG. 4. Thereby, the pulse φ₁ sets the node A to the drain voltage V_(DD). The pulse φ, FIG. 4, represents the measurement duration.

A further exemplary embodiment is illustrated in FIG. 5 in which a static shift register that functions as a flip-flop amplifier is expanded by the detector diodes D₁ and D₂ and the transfer transistors T₁₁, T₁₂ for the image signal pickup. The manner of functioning is similar to that of the exemplary embodiment illustrated in FIG. 2 whereby, for initiating the line pickup, the shift register is placed in an operating state in which the node A is applied to high potential (V_(DD)). For initiating the measurement, φ₁ is switched off and the node A is more or less strongly discharged depending on the exposure of the photodiode D₁. The formation of the binary value ensues by means of activation of the clock pulses φ₂ and φ₃ (switching-on of the flip-flop). This binary value is tapped at node B via line 6-I for output to the equivalence detector 6.

In this exemplary embodiment, too, the number of photodiodes and transfer transistors is determined by the number of image elements required.

A timing diagram of the clock pulse sequence in the shift operation of the exemplary embodiment according to FIG. 5 is illustrated in FIG. 6. In measuring operation, the clock pulse sequence of the exemplary embodiment according to FIG. 5 is similar to the clock pulse sequence for the sample embodiment according to FIG. 2 (see FIG. 4).

FIG. 7 illustrates a circuit arrangement by which the pulse for defining the measuring duration φ is formed. The beginning of the measuring duration is effected by means of the reset clock pulse φ₄ at the reset transistor T₂₀. The formation of the pulse for the measuring duration ensues from the discharge of the two comparison photosensors D₃, D₄ of components 4 and 5, evaluated in a static inverter T₂₁, T₂₂ of the same dimensions as in the shift registers.

The photodiodes D₁, D₂ illustrated in FIGS. 2 and 5 as well as the comparison photosensors D₃, D₄ according to FIG. 7 can be employed in devices present in the MOS process such as, for example, source and drain diffusions or source and drain terminal implantations or, respectively, as inversion surface barriers under transparent electrodes as in charge coupled devices (CCD).

In addition to the circuit arrangements illustrated in FIGS. 2 and 5, which represent the function for the simplest known dynamic, or, respectively static shift registers, these circuit arrangements can also be meaningfully realized in enhancement/depletion technologies and in improved dynamic techniques. The invention is particularly suited for use in photographic cameras and film apparatuses whereby the split-image needed for the correlation can be achieved through the lens or with an auxiliary imaging device and also for the automatic distance measurement for separation and velocity measurements in traffic and in mensuration, control and regulating technology.

For an embodiment as discussed under the heading "Summary of the Invention" herein, sensors 2 and 3 may each comprise thirty-two photodiodes such as D₁, D₂, FIG. 2 or FIG. 5, each controlling charge on respective capacitors such as C₁, C₃, etc., which correspond to the respective storage cells O1, O2, etc., of register 2 and U1, U2, etc., of register 3.

The equivalence detector 6 may read the respective values at outputs 6-1, 6-2, etc., FIG. 2, or at 6-I, 6-II, etc., FIG. 5, during each examination cycle, and prior to each shift operation as represented in FIG. 3 or FIG. 6. In the simplest case the charge values O1 through O7 and U1 through U7 may represent logical zero or logical one values to the equivalence detector 6; and the equivalence detector may utilize four exclusive OR circuits to determine when the pairs of charge values at the four outputs such as 6-1 and 6-2 of the shift registers of components 2 and 3 all match simultaneously.

In a more elaborate equivalence detector such as indicated in FIG. 8, the number of "overlapping" shift register outputs in the comparison zone (such as 6-1 and 6-2, etc., FIG. 2) from the respective line sensors corresponding to 2 and 3, might equal fifteen where there are thirty-two photodiodes per line sensor, and FIG. 8 illustrates an equivalence detector 60 wherein fifteen shift register outputs from one line sensor (corresponding to 2, FIG. 1) are connected to respective inputs 26-1 through 26-15 of respective exclusive OR circuits 60-1 through 60-15, while fifteen shift register outputs from the other line sensor (corresponding to line sensor 3, FIG. 1) are connected with respective inputs 36-1 through 36-15 of the exclusive OR circuits 60-1 through 60-15.

The output of each exclusive OR circuit such as 60-1 through 60-15, FIG. 8, could provide a logical one for the case of a matching pair (0, 0; or 1, 1) and a logical zero for a non-match (0, 1; or 1, 0). Thus for the more elaborate example, the summer 7 would provide a maximum signal of decimal fifteen value for a complete match. The signals from the respective exclusive OR circuits, e.g. fifteen logical ones or zeros for the more elaborate case, could be supplied to respective stages such as 70-1 through 70-15 of a shift register 70, FIG. 9, and sequentially applied to the input of a binary counter such as 71, FIG. 9, with parallel output such as indicated at 71-1, 71-2, 71-3, 71-4, to signal evaluator 8. Thus a binary digital number of say four binary digit positions would be received by signal evaluator 8 for each examination cycle of equivalence detector 6. In the more elaborate example, seventeen examination cycles would provide evaluator 8 with seventeen binary numbers to be compared to select the maximum value, and such a signal evaluator is indicated at 80 in FIG. 10. Thus, as represented in FIGS. 9 and 10, the results of the correlation examination are summed up in an adder (70, 71, FIG. 9) and are supplied to a signal evaluator (80, FIG. 10) which controls the focus adjustment (via focus adjustment means 81, FIG. 10) or, respectively, displays a coded signal (at focal distance display 82, FIG. 10).

By way of example, the reference sensors 4, 5, FIG. 1, may be implemented as shown in FIG. 7; and each photodiode D₃ and D₄ may represent a linear series of such photodiodes as suggested by the physical extent and arrangement of components 4 and 5, component 4 receiving illumination from the linearly extended light image impinging on line sensor 2, and component 5 receiving a total illumination proportional to the average light intensity of the linearly extended light image impinging on line sensor 3.

For the sake of diagrammatic illustration, FIG. 11 illustrates the case where the linearly extended light images impinging on line sensors 2 and 3 provide matching light intensities (represented by photon arrow symbols 91-1i through 91-4i and 92-1i through 92-4i) impinging on image elements O4 through O7 and U1 through U4. As previously stated a distance setting "infinite" is realized when the respective pairs of photodiode output quantities from image elements O4, U1; O5, U2; O6, U3; and O7, U4 all match. FIG. 12 illustrates the case where matching light intensities (represented by photon arrow symbols 91-1c through 91-4c and 92-1c through 92-4c) impinge on image elements O1 through O4 and U4 through U7. As previously stated a close-up distance setting is realized when a simultaneous match exists between the respective pairs O1, U4; O2, U5; etc.

It will be apparent that many modifications and variations may be effected without departing from the scope of the novel concepts and teachings of the present invention. 

I claim:
 1. In a method of sensing the degree of offset of split light images,(a) sensing impinging light from the respective images by means of first and second line sensors (2, 3) which provide first and second lines of image elements (O1-O7, U1-U7), the line sensors (2, 3) being parallel but longitudinally offset relative to each other, with the first line sensor (2) having a first series of image elements (O1-O3) offset longitudinally from the second line sensor (3) and having a second series of image elements (O4-O7) laterally aligned with a first series of image elements (U1-U4) of the second line sensor (3), and with the second line sensor (3) having a second series of image elements (U5-U7) offset longitudinally from the first line sensor (2), the second series of image elements (O4-O7) of said first line sensor (2) having the same predetermined number of image elements as the first series of image elements (U1-U4) of said second line sensor (3), (b) deriving from the image elements of said first and second line sensors respective sets of output signals, (c) digitally processing the output signals from the first and second line sensors (2, 3) to produce first and second subsets of digitalized measurement results (at 6-1, 6-2, etc., FIG. 2; at 6-I, 6-II, etc. FIG. 5) with each first subset of digitalized measurement results digitally representing the output signals from a subgroup of successive image elements of the first line sensor having said predetermined number of image elements and with each second subset of digitalized measurement results digitally representing the output signals from a subgroup of successive image elements of the second line sensor having said predetermined number of image elements, and (d) sequentially examining the first and second subsets of digitalized measurement results to determine which of said first and second subsets have respectively matching pairs of digitalized measurement results so as to determine which of the respective subgroups of successive image elements of the first and second line sensors (2, 3) have supplied respectively matching pairs of output signals.
 2. A method according to claim 1, characterized in that the sequential examining step utilizes an equivalence detector (60) equipped with gates for exclusive OR operation and in that for each pair of subsets to be compared, respective corresponding digitalized measurement results from the respective subsets are supplied to one of the exclusive OR gates to supply equivalence detector outputs of a first logical signal level in the case of a mismatch and of a second logical signal level in the case of a match.
 3. A method according to claim 2, characterized in that the respective equivalence detector outputs are supplied to respective stages of a shift register (70), the contents of the shift register then being supplied to a counter (71) acting to add up the equivalence detector outputs for supply via a parallel output of the counter to a signal evaluator (80).
 4. A method according to claim 1, characterized in that the output signals are derived from respective image sensing devices (D₁, D₂, etc.) of each of the image elements by integration over a measuring duration which is determined with the assistance of comparison sensors (4, 5) lying parallel to the line sensors (2, 3), the comparison sensors (4, 5) being disposed so as to sense the average light intensity of the respective images.
 5. A method according to claim 1, characterized in that the image elements comprise detector diodes (D₁, D₂) with series connected transfer transistors (T₁₁, T₁₂) which couple the detector diodes with shift registers.
 6. A method according to claim 1, with first and second shift registers having respective shift register stages coupled with the respective image sensing devices (D₁, D₂) of each of the image elements of the first and second line sensors for receiving analog output signals from the image sensing devices, the digitally processing step comprising reading out from the shift register stages first and second subsets of digitalized measurement results each via a respective number of shift register parallel outputs (6-1, 6-2, etc., FIG. 2; 6-I, 6-II, etc., FIG. 5) equal to said predetermined number.
 7. A method according to claim 6, wherein the shift register stages have operating characteristics such as to convert analog output signals from the image sensing devices (D₁, D₂) to digital form so as to provide the digitalized measurement results. 